package ar.camera.glsurfaceview.base;

import android.content.Context;
import android.graphics.PixelFormat;
import android.opengl.GLSurfaceView;
import ar.camera.renderer.base.BaseRenderer;

public class BaseGLSurfaceView extends GLSurfaceView {

	protected BaseRenderer mRenderer;

	public BaseRenderer getmRenderer() {
		return mRenderer;
	}

	public void setmRenderer(BaseRenderer mRenderer) {
		this.mRenderer = mRenderer;
	}

	public BaseGLSurfaceView(Context context) {
		super(context);

		setEGLConfigChooser(8, 8, 8, 8, 16, 0);
		getHolder().setFormat(PixelFormat.TRANSLUCENT);
	}
	
}
